<ion-view view-title="修改密码" class="xg-feedback-view">
  <ion-nav-buttons side="left">
    <a class="ion-ios-arrow-back" href="#/tab/setting"></a>
  </ion-nav-buttons>
  <ion-content class="padding xg-feedback-content">

    <div class="list">
      <ng-form name="passwordForm">
      <label class="item item-input">
        <span class="input-label">原密码：</span>
        <input type="password" ng-model="password.old" ng-minlength="6" required>
      </label>
      <label class="item item-input">
        <span class="input-label">新密码：</span>
        <input type="password" ng-model="password.new" name="newpassword" ng-minlength="6" required>
      </label>
      <label class="item item-input">
        <span class="input-label">确认新密码：</span>
        <input type="password" name="confirmpassword" ng-model="password.confirm" ng-minlength="6" required>
      </label>
      <button class="button button-full xg-feedback-btn xg-family-add-btn" ng-click="updatePassword()" ng-disabled="passwordForm.$invalid">
        修改
      </button>
      </ng-form>
    </div>
  </ion-content>
</ion-view>
